void write_log(char *);

void
write_log( const char *message )
{
	FILE *log_file;

	log_file = fopen( "log.txt", "w" );

	fputs( message, log_file );

	fclose( log_file );
}